VALUES --- different, because it ends with an S VALU --- different, because the final E is mission VALUE$ --- different, because the final $ means a character variable value --- same vALUe --- same Value --- same
A common problem in writing a program is to accidentally use two slightly different variables names when you want just one variable. The following program has a BUG:
' Calculate Miles per Gallon (Buggy Version) ' ' second odometer reading is 45,678.3 ' first odometer reading is 45,149.6 ' gallons of gas used is 12.5 ' LET MILES = (45678.3 - 45149.6) PRINT MILE / 12.5 END
Find the bug in the program, and write a new program that corrects the bug.